Advanced Extraction Path Options Back Forward


Introduction

PowerArchiver's ZIP and CAB SFX archives can have predefined advanced options for the Extraction Path (or "Default UnZip To folder"). They come particularly handy if you are going to use our SFX's for software installations.

Predefined extraction paths can be entered in either the Make SFX or SFX Wizard "Default UnZip To folder" field.


Extraction Path Options

Constant Description Typical or Example Path
%temp% User's temporary folder C:\WINDOWS\TEMP
%temp-unique% A unique temporary folder C:\WINDOWS\TEMP\~SFX345A
%win% Windows Directory C:\WINDOWS
%winsys% Windows System Files Directory C:\WINDOWS\SYSTEM
%PROG% Program Files Folder C:\Program Files
%DOCS% User's documents folder C:\My Documents
%DESKTOP% User's Desktop Folder C:\Windows\Desktop
%FONTS% Fonts Folder C:\Windows\Fonts

You can also use registry entries. In this case, use the pipe symbol ( | ) to create sub-folders.

Examples

Default UnZip To folder: %prog%\PowerArchiver\Skins
Typically: C:\Program Files\PowerArchiver\Skins


Default UnZip To folder: %temp%\~test
Typically: C:\Windows\Temp\~test)


Default UnZip To folder: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir|MySoftware
Typically: C:\Program Files\Common Files\MySoftware
 

 

Important information on using "run command line after extract" option

In case you are using advanced extraction path option together with run command line after extracting option, you will need to use special "{p}" option in the run command line after extracting field so you can tell PowerArchiver SFX where to find extracted files.

Example
 

Default UnZip To folder: %temp-unique%
Run Command Line: {p}\setup.exe
Explanation: These options will run setup.exe from unique temporary path.


More Information

You can find out more information about SFX archives in the SFX overview section.



Copyrighted ⌐ 1998-2004 ConeXware, Inc
All Rights Reserved. See Introduction page for more info.
Back Forward